\hypertarget{format__ofm_8c}{}\doxysubsection{extern/libembroidery/src/formats/format\+\_\+ofm.c File Reference}
\label{format__ofm_8c}\index{extern/libembroidery/src/formats/format\_ofm.c@{extern/libembroidery/src/formats/format\_ofm.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}../embroidery\+\_\+internal.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
char $\ast$ \mbox{\hyperlink{format__ofm_8c_ad122fd27abac7102ae75f82d8e578129}{ofm\+Read\+Library}} (FILE $\ast$file)
\item 
static int \mbox{\hyperlink{format__ofm_8c_aaf0a0c0b2886b4e4d2636e85044f78b6}{ofm\+Read\+Class}} (FILE $\ast$file)
\item 
void \mbox{\hyperlink{format__ofm_8c_a339d0ee5bedac508e9c90cf82c2c97cc}{ofm\+Read\+Block\+Header}} (FILE $\ast$file)
\item 
void \mbox{\hyperlink{format__ofm_8c_a2f785b4dddf30ee05e337df513452f4a}{ofm\+Read\+Color\+Change}} (FILE $\ast$file, \mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
void \mbox{\hyperlink{format__ofm_8c_afcdfe4c9bb0e551b1fa20ed9bc698bf4}{ofm\+Read\+Threads}} (FILE $\ast$file, \mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} \mbox{\hyperlink{format__ofm_8c_a97fa7e0123b3260800c7aec2e2168cab}{ofm\+Decode}} (unsigned char b1, unsigned char b2)
\item 
void \mbox{\hyperlink{format__ofm_8c_a84260a236c94ae0a750864a2a2e0b09c}{ofm\+Read\+Expanded}} (FILE $\ast$file, \mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
char \mbox{\hyperlink{format__ofm_8c_ac5446234f9b586cdc44c004dda2b0e56}{read\+Ofm}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file\+Compound)
\item 
char \mbox{\hyperlink{format__ofm_8c_a25920ff259a61a23d0067b6007020a08}{write\+Ofm}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\end{DoxyCompactItemize}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{format__ofm_8c_a97fa7e0123b3260800c7aec2e2168cab}\label{format__ofm_8c_a97fa7e0123b3260800c7aec2e2168cab}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmDecode@{ofmDecode}}
\index{ofmDecode@{ofmDecode}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmDecode()}{ofmDecode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} ofm\+Decode (\begin{DoxyParamCaption}\item[{unsigned char}]{b1,  }\item[{unsigned char}]{b2 }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__ofm_8c_a339d0ee5bedac508e9c90cf82c2c97cc}\label{format__ofm_8c_a339d0ee5bedac508e9c90cf82c2c97cc}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmReadBlockHeader@{ofmReadBlockHeader}}
\index{ofmReadBlockHeader@{ofmReadBlockHeader}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmReadBlockHeader()}{ofmReadBlockHeader()}}
{\footnotesize\ttfamily void ofm\+Read\+Block\+Header (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__ofm_8c_aaf0a0c0b2886b4e4d2636e85044f78b6}\label{format__ofm_8c_aaf0a0c0b2886b4e4d2636e85044f78b6}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmReadClass@{ofmReadClass}}
\index{ofmReadClass@{ofmReadClass}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmReadClass()}{ofmReadClass()}}
{\footnotesize\ttfamily static int ofm\+Read\+Class (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{format__ofm_8c_a2f785b4dddf30ee05e337df513452f4a}\label{format__ofm_8c_a2f785b4dddf30ee05e337df513452f4a}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmReadColorChange@{ofmReadColorChange}}
\index{ofmReadColorChange@{ofmReadColorChange}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmReadColorChange()}{ofmReadColorChange()}}
{\footnotesize\ttfamily void ofm\+Read\+Color\+Change (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file,  }\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__ofm_8c_a84260a236c94ae0a750864a2a2e0b09c}\label{format__ofm_8c_a84260a236c94ae0a750864a2a2e0b09c}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmReadExpanded@{ofmReadExpanded}}
\index{ofmReadExpanded@{ofmReadExpanded}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmReadExpanded()}{ofmReadExpanded()}}
{\footnotesize\ttfamily void ofm\+Read\+Expanded (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file,  }\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__ofm_8c_ad122fd27abac7102ae75f82d8e578129}\label{format__ofm_8c_ad122fd27abac7102ae75f82d8e578129}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmReadLibrary@{ofmReadLibrary}}
\index{ofmReadLibrary@{ofmReadLibrary}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmReadLibrary()}{ofmReadLibrary()}}
{\footnotesize\ttfamily char $\ast$ ofm\+Read\+Library (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

\hypertarget{format__ofm_8c_melco-ofm-format}{}\doxyparagraph{Melco Embroidery Format (.\+ofm)}\label{format__ofm_8c_melco-ofm-format}
\index{ofm@{ofm}} \index{Melco@{Melco}}

Stitch Only Format. \mbox{\Hypertarget{format__ofm_8c_afcdfe4c9bb0e551b1fa20ed9bc698bf4}\label{format__ofm_8c_afcdfe4c9bb0e551b1fa20ed9bc698bf4}} 
\index{format\_ofm.c@{format\_ofm.c}!ofmReadThreads@{ofmReadThreads}}
\index{ofmReadThreads@{ofmReadThreads}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{ofmReadThreads()}{ofmReadThreads()}}
{\footnotesize\ttfamily void ofm\+Read\+Threads (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file,  }\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__ofm_8c_ac5446234f9b586cdc44c004dda2b0e56}\label{format__ofm_8c_ac5446234f9b586cdc44c004dda2b0e56}} 
\index{format\_ofm.c@{format\_ofm.c}!readOfm@{readOfm}}
\index{readOfm@{readOfm}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{readOfm()}{readOfm()}}
{\footnotesize\ttfamily char read\+Ofm (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file\+Compound }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__ofm_8c_a25920ff259a61a23d0067b6007020a08}\label{format__ofm_8c_a25920ff259a61a23d0067b6007020a08}} 
\index{format\_ofm.c@{format\_ofm.c}!writeOfm@{writeOfm}}
\index{writeOfm@{writeOfm}!format\_ofm.c@{format\_ofm.c}}
\doxyparagraph{\texorpdfstring{writeOfm()}{writeOfm()}}
{\footnotesize\ttfamily char write\+Ofm (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

